import time

import pytest


def add(x,y):
    return x+y
@pytest.mark.skip("版本已更新")
class testAdd:
    def setup_class(self):
        print("测试类开始时间：", time.strftime("%Y-%m-%d %H:%M:%S"))
    def teardown_class(self):
        print("测试类结束时间：", time.strftime("%Y-%m-%d %H:%M:%S"))
    def setup(self):
        print("测试用例开始时间：",time.strftime("%Y-%m-%d %H:%M:%S"))
    def teardown(self):
        print("测试用例结束时间：", time.strftime("%Y-%m-%d %H:%M:%S"))

    def Test_01(self):
        print(add(1,2))

    def test_02(self):
        print(add(2, 2))

